package com.skillworld.webapp.model.language;

import javax.persistence.*;


@Entity
@Table(name="Language")
public class Language {

	private String code;
	private String name;

	
	protected Language() { 
	}

	
	public Language(String code, String name) {
        super();
        this.code = code;
        this.name = name;
    }


    @Id
	@Column(name = "code")
	public String getCode() {
		return code;
	}
	
	protected void setCode(String code) {
		this.code = code;
	}
	
	@Column(name = "language")
	public String getName() {
		return name;
	}
	
	protected void setName(String name) {
		this.name = name;
	}

}
